<html>
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
        <title>1.1 Quick Start</title>
        <link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" title="Ref" charset="utf-8"/>
    </head>
    <body class="body">
    Create your Grails application<p class="paragraph"/><div class="code"><pre>grails create&#45;app test&#45;batch&#45;prj
cd test&#45;batch&#45;prj</pre></div><p class="paragraph"/>Install the plugin<p class="paragraph"/><div class="code"><pre>grails install&#45;plugin batch&#45;launcher</pre></div><p class="paragraph"/>If you want, add "hello world" to your grails-app/conf/Main.groovy<p class="paragraph"/><div class="code"><pre>def run = &#123; context &#45;&#62;
     println <span class="java&#45;quote">"Hello world!"</span>
     println <span class="java&#45;quote">"App args are $&#123;context.args&#125;"</span> 
   &#125;</pre></div><p class="paragraph"/>Go ahead and run your application<p class="paragraph"/><div class="code"><pre>grails batch&#45;run&#45;app</pre></div><p class="paragraph"/>Prepare your application to deployment<p class="paragraph"/><div class="code"><pre>grails batch&#45;war</pre></div><p class="paragraph"/>Done!
    </body>
</html>
